home *** CD-ROM | disk | FTP | other *** search
/ Clickx 75 / Clickx 75.iso / software / expressionweb / expressionwebv3 / ExpressionWeb_en.exe / Setup / WeImp.cab / PsdImaging.dll / XML / CURVEEFFECT.XML < prev    next >
Encoding:
Extensible Markup Language  |  2009-07-15  |  3.7 KB  |  72 lines

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <effect label="CurveEffect: Apply curve">
  3.     <description>
  4.         This Effect adds piecewise cubic spline interpolation capability so users can specify curves with a sparse set of (x, y) control points.
  5.  
  6.         The parameters: CurvePt0, CurvePt1, CurvePt2, CurvePt3 are the control points for the corresponding channels.
  7.  
  8.         The possible values for the parameters are:
  9.         
  10.         (a)
  11.         A 2D array of floats [2 x point count], so that each point is represented by a pair (x, y).
  12.         The floating point values can be VT_R4, VT_R8, or VT_VARIANT resolving to VT_R4 or VT_R8.
  13.         The point count must be greater than or equal to two and less than or equal to 18.
  14.         The x-coordinates must all differ from each other by at least 0.001.
  15.         The control points may be in any order in the array.
  16.         
  17.         (b)
  18.         A 1D array of floats: x0, y0, x1, y1, etc.
  19.         
  20.         (c)
  21.         An empty set (VT_EMPTY) will generate a ramp: (0.0, 0.0) to (1.0, 1.0).
  22.     </description>
  23.  
  24.     <property name="CurvePts0" type="float[]" default="0,0,1,1" label="Control points for Red curve"/>
  25.     <property name="CurvePts1" type="float[]" default="0,0,1,1" label="Control points for Green curve"/>
  26.     <property name="CurvePts2" type="float[]" default="0,0,1,1" label="Control points for Blue curve"/>
  27.     <property name="CurvePts3" type="float[]" default="0,0,1,1" label="Control points for Alpha curve"/>
  28.  
  29.     <description>
  30.         Curve inversion allows processing of data backwards through the curve set. This is permitted
  31.         only for certain types of curves:
  32.             a) All curves must be monotonic within the x-interval [0, 1].
  33.             b) Within the x-interval [0, 1], the y-value of the curves must be in the range [0, 1].
  34.             c) The ClampOutput property must be false.
  35.             d) The CurveExtension property must be Extrapolate.
  36.         This property applies to all four channels.
  37.     </description>
  38.     <property name="Invert" type="bool" default="false" label="Invert curve"/>
  39.  
  40.     <description>
  41.         Enables or disables clamping of the y-output. If false, no clamping occurs (e.g. CaptureOne
  42.         curves behavior). If true, the y-output is clamped to the range [0.0, 1.0] (e.g. PSD curves
  43.         behavior). This property applies to all four channels.
  44.     </description>
  45.     <property name="ClampOutput" type="bool" default="false" label="Clamp output"/>
  46.  
  47.     <description>
  48.         Specifies the behavior of the curve to the left of the first control point, and to the right
  49.         of the last control point. Extrapolate is used for CaptureOne, and Clamp is used for PSD. This
  50.         property applies to all four channels.
  51.     </description>
  52.     <property name="CurveExtension" type="int" default="0" label="Curve extension">
  53.         <choice>Extrapolate</choice>
  54.         <choice>Clamp</choice>
  55.     </property>
  56.  
  57.     <description>
  58.         This Effect also supports readonly access to the underlying dense curve data 
  59.         This us useful for supporting the UI display of the dense curve points
  60.     </description>
  61.     <property name="Curve0" type="float[]" readonly="1" private="1"/>
  62.     <property name="Curve1" type="float[]" readonly="1" private="1"/>
  63.     <property name="Curve2" type="float[]" readonly="1" private="1"/>
  64.     <property name="Curve3" type="float[]" readonly="1" private="1"/>
  65.  
  66.     <description>
  67.         For three-point curves, there is a difference between CaptureOne and PSD. The following
  68.         property instructs the effect which behavior is wanted. False implies PSD compatibility.
  69.     </description>
  70.     <property name="CaptureOneCompatible" type="bool" default="true" label="CaptureOne compatible"/>
  71. </effect>
  72.